home *** CD-ROM | disk | FTP | other *** search
- ;------------------------------------------------------------------------------
- ; .ss.
- ; `²²'
- ; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
- ; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
- ; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
- ; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
- ; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
- ; .sS²°$$$²²°"' d²°'
- ; .$$² .$$'
- ; $$$.,d$$'
- ; `²S$$S²'
- ;------------------------------------------------------------------------------
- ; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
- ;------------------------------------------------------------------------------
- ; PPE 3.O1 (Encryption type I) - Analysis ON - Postprocessing ON
- ;------------------------------------------------------------------------------
-
- String STRING001
- String STRING002
- Word WORD001
- Word WORD002
- Word WORD003
- Word TWORD004(9)
- Word WORD005
- Word WORD006
- Word WORD007
- Word WORD008
- Declare Procedure PROC001()
- Declare Procedure PROC002(String STRING003, Word WORD009)
- Declare Procedure PROC003()
- Declare Procedure PROC004()
-
- ;------------------------------------------------------------------------------
-
- STRING001 = PPEPath() + "WORK\ORG.DAT"
- If (!Exist(STRING001)) End
- WORD005 = FileInf(STRING001, 4) / 2
- PROC001()
- If (WORD001 == 0) End
- If (!CDOn() && !OnLocal()) Then
- STRING002 = PCBMac("@USER@") + " - CARRIER LOST !"
- For WORD002 = 1 To WORD005
- If (TWORD004(WORD002 - 1) && (WORD002 <> WORD001)) PROC002(STRING002, WORD002)
- Next
- Endif
- PROC004()
- End
-
- ;------------------------------------------------------------------------------
-
- Procedure PROC001()
-
- WORD007 = 0
- FOpen 1, STRING001, 0, 3
- FSeek 1, 0, 0
- For WORD003 = 1 To WORD005
- FRead 1, WORD002, 2
- If (WORD002 <> 0) Then
- Inc WORD007
- If (WORD002 == PcbNode()) WORD001 = WORD003
- TWORD004(WORD003 - 1) = WORD002
- Continue
- Endif
- TWORD004(WORD003 - 1) = 0
- Next
- FClose 1
-
- EndProc
-
-
- ;------------------------------------------------------------------------------
-
- Procedure PROC002(String STRING003, Word WORD009)
-
- WORD006 = WORD009
- If (WORD006 == 10) WORD006 = 0
- FCreate 1, PPEPath() + "WORK\PVT." + String(WORD006), 1, 0
- FPutLn 1, STRING003
- FClose 1
-
- EndProc
-
-
- ;------------------------------------------------------------------------------
-
- Procedure PROC003()
-
- For WORD003 = 1 To WORD005
- If (TWORD004(WORD003 - 1) && (WORD003 <> WORD001)) Then
- FCreate 1, PPEPath() + "WORK\READSEM." + String(WORD003), 1, 0
- FPutLn 1, "OrgFile changed... Reread requested."
- FClose 1
- Endif
- Next
-
- EndProc
-
-
- ;------------------------------------------------------------------------------
-
- Procedure PROC004()
-
- FOpen 1, STRING001, 2, 3
- FSeek 1, (WORD001 - 1) * 2, 0
- FWrite 1, 0, 2
- FClose 1
- WORD008 = WORD001
- If (WORD008 == 10) WORD008 = 0
- If (Exist(PPEPath() + "WORK\CHAT." + String(WORD008))) Delete PPEPath() + "WORK\CHAT." + String(WORD008)
- If (Exist(PPEPath() + "WORK\ZAP." + String(WORD008))) Delete PPEPath() + "WORK\ZAP." + String(WORD008)
- If (Exist(PPEPath() + "WORK\PVT." + String(WORD008))) Delete PPEPath() + "WORK\PVT." + String(WORD008)
- If (Exist(PPEPath() + "WORK\READSEM." + String(WORD008))) Delete PPEPath() + "WORK\READSEM." + String(WORD008)
- If (Exist(PPEPath() + "WORK\EJECT." + String(WORD008))) Delete PPEPath() + "WORK\EJECT." + String(WORD008)
- If (Exist(PPEPath() + "WORK\SWAP." + String(PcbNode()))) Delete PPEPath() + "WORK\SWAP." + String(PcbNode())
- PROC003()
- PROC001()
- If (WORD007 == 0) Then
- Delete STRING001
- For WORD008 = 0 To 9
- If (Exist(PPEPath() + "WORK\CHAT." + String(WORD008))) Delete PPEPath() + "WORK\CHAT." + String(WORD008)
- If (Exist(PPEPath() + "WORK\ZAP." + String(WORD008))) Delete PPEPath() + "WORK\ZAP." + String(WORD008)
- If (Exist(PPEPath() + "WORK\PVT." + String(WORD008))) Delete PPEPath() + "WORK\PVT." + String(WORD008)
- If (Exist(PPEPath() + "WORK\READSEM." + String(WORD008))) Delete PPEPath() + "WORK\READSEM." + String(WORD008)
- If (Exist(PPEPath() + "WORK\EJECT." + String(WORD008))) Delete PPEPath() + "WORK\EJECT." + String(WORD008)
- If (Exist(PPEPath() + "WORK\SWAP." + String(WORD008))) Delete PPEPath() + "WORK\SWAP." + String(WORD008)
- Next
- If (Exist(PPEPath() + "WORK\LOCKED.SEM")) Delete PPEPath() + "WORK\LOCKED.SEM"
- Endif
-
- EndProc
-
-
- ;------------------------------------------------------------------------------
- ;
- ; Usage report (before postprocessing)
- ;
- ; ■ Statements used :
- ;
- ; 3 End
- ; 14 Goto
- ; 19 Let
- ; 27 If
- ; 2 FCreate
- ; 2 FOpen
- ; 4 FClose
- ; 2 FPutLn
- ; 14 Delete
- ; 1 Inc
- ; 2 FSeek
- ; 1 FRead
- ; 1 FWrite
- ; 4 EndProc
- ;
- ;
- ; ■ Functions used :
- ;
- ; 1 *
- ; 1 /
- ; 60 +
- ; 5 -
- ; 5 ==
- ; 3 <>
- ; 4 <
- ; 4 <=
- ; 8 >=
- ; 11 !
- ; 11 &&
- ; 4 ||
- ; 26 String()
- ; 29 PPEPath()
- ; 3 PcbNode()
- ; 1 OnLocal()
- ; 14 Exist()
- ; 1 CDOn()
- ; 1 FileInf()
- ; 1 PCBMac()
- ;
- ;------------------------------------------------------------------------------
- ;
- ; Analysis flags : No flag
- ;
- ;------------------------------------------------------------------------------
- ;
- ; Postprocessing report
- ;
- ; 4 For/Next
- ; 0 While/EndWhile
- ; 4 If/Then or If/Then/Else
- ; 0 Select Case
- ;
- ;------------------------------------------------------------------------------
- ; AEGiS Corp - Break the routines, code against the machines!
- ;------------------------------------------------------------------------------
-